/**
 * @Author ZhangGJ
 * @Date 2021/11/14 22:18
 */
#ifndef CPP_IN_ACTION_EXCEPTION_H
#define CPP_IN_ACTION_EXCEPTION_H

#include <iostream>
#include <string>

using namespace std;

class illegalParameterValue
{
public:
    explicit illegalParameterValue(string message = "Illegal parameter value")
    {
        message = message;
    }

    void outputMessage()
    {
        cout << message << endl;
    }

private:
    string message;
};

#endif //CPP_IN_ACTION_EXCEPTION_H
